]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Fix cut-off folders in All view
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 16 May 2013 15:20:32 +0000 (17:20 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 19 May 2013 21:30:39 +0000 (23:30 +0200)
commitd8d0afff0bda439be4915ef30aa03c6646f71510
tree777212eec9603dcbaf9e9606eb22bb24fc82c42f
parentb799e8c0a6b7bbd0246b924c79a2fca3257b05cd
appDisplay: Fix cut-off folders in All view

We already take care of growing the view if open folders overlap
at the bottom, however folder popups may still end up being cut
off when opening above the source icon - if the popup is high enough,
its y coordinate will be negative and therefore outside the parent's
allocation. To fix, we can either make sure that folders pop up below
their source icon in that case, or adjust the parent grid's position
as necessary while a folder is open. This implements the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=694371
js/ui/appDisplay.js